[INFO] cloning repository https://github.com/Eros/Heart
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eros/Heart" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEros%2FHeart", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEros%2FHeart'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6675149ed54e800f26b1dad73220af0ad7866db5
[INFO] building Eros/Heart against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEros%2FHeart" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Eros/Heart on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Eros/Heart
[INFO] finished tweaking git repo https://github.com/Eros/Heart
[INFO] tweaked toml for git repo https://github.com/Eros/Heart written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/Eros/Heart already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/carllerche/mio`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46d79831c25051c95c3133f92419bb51b587f983fa41703c78a5dc664aba9213
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "46d79831c25051c95c3133f92419bb51b587f983fa41703c78a5dc664aba9213", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46d79831c25051c95c3133f92419bb51b587f983fa41703c78a5dc664aba9213", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46d79831c25051c95c3133f92419bb51b587f983fa41703c78a5dc664aba9213", kill_on_drop: false }`
[INFO] [stdout] 46d79831c25051c95c3133f92419bb51b587f983fa41703c78a5dc664aba9213
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 41b5a3c24affe6828bb1bd72773b515308a581f467cc37d1de30e1cfc18a569d
[INFO] running `Command { std: "docker" "start" "-a" "41b5a3c24affe6828bb1bd72773b515308a581f467cc37d1de30e1cfc18a569d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.43
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]    Compiling lazycell v1.2.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling sha1 v0.1.1
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling http-muncher v0.2.5
[INFO] [stderr]    Compiling mio v0.6.16 (https://github.com/carllerche/mio#50c4af5c)
[INFO] [stderr]    Compiling Heart v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unknown character escape: ` `
[INFO] [stdout]   --> src/main.rs:78:87
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\
[INFO] [stdout]    |                                                                                       ^ unknown character escape
[INFO] [stdout]    |
[INFO] [stdout]    = help: for more information, visit <https://static.rust-lang.org/doc/master/reference.html#literals>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown character escape: ` `
[INFO] [stdout]   --> src/main.rs:79:82
[INFO] [stdout]    |
[INFO] [stdout] 79 | ...                   Sec-WebSocket-Accept: {}\r\n\ Upgrade: websocket\r\n\r\n", response_key));
[INFO] [stdout]    |                                                    ^ unknown character escape
[INFO] [stdout]    |
[INFO] [stdout]    = help: for more information, visit <https://static.rust-lang.org/doc/master/reference.html#literals>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `#`
[INFO] [stdout]   --> src/main.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[#deprive]
[INFO] [stdout]    |       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `match` arm body without braces
[INFO] [stdout]   --> src/main.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 Err(e) =>
[INFO] [stdout]    |                        -- while parsing the `match` arm starting here
[INFO] [stdout] 55 |                     println!("Error while attempting to read socket! {:?}", e);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: use a comma to end a `match` arm expression: `,`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this statement is not surrounded by a body
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>`
[INFO] [stdout]   --> src/main.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(None) => break;
[INFO] [stdout]    |                      ^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `=`, `@`, or `|`, found `=>`
[INFO] [stdout]    --> src/main.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 99  |             SERVER_TOKEN =>
[INFO] [stdout]     |                          -- while parsing the `match` arm starting here
[INFO] [stdout] 100 |                 let client_socket => match self::socket::accept()|
[INFO] [stdout]     |                                   ^^ expected one of `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]    --> src/main.rs:106:10
[INFO] [stdout]     |
[INFO] [stdout] 106 |         },
[INFO] [stdout]     |          ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]    --> src/main.rs:114:6
[INFO] [stdout]     |
[INFO] [stdout] 93  | impl Handler for WebSocketServer {
[INFO] [stdout]     |                                  - item list starts here
[INFO] [stdout] ...
[INFO] [stdout] 114 |     };
[INFO] [stdout]     |      ^ non-item starts here
[INFO] [stdout] ...
[INFO] [stdout] 119 | }
[INFO] [stdout]     | - item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
[INFO] [stdout]   --> src/main.rs:78:24
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\
[INFO] [stdout]    |                        ^^^ use of undeclared crate or module `fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientState`
[INFO] [stdout]   --> src/main.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |         self.state = ClientState::Connected;
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared type `ClientState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet`
[INFO] [stdout]   --> src/main.rs:82:30
[INFO] [stdout]    |
[INFO] [stdout] 82 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]    |                              ^^^^^^^^ use of undeclared type `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet`
[INFO] [stdout]   --> src/main.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]    |                              ^^^^^^^^ use of undeclared type `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet`
[INFO] [stdout]    --> src/main.rs:141:51
[INFO] [stdout]     |
[INFO] [stdout] 141 |     event_loop.register(&server_socket, Token(0), EventSet::readable(), PollOpt::edge()).unwrap();
[INFO] [stdout]     |                                                   ^^^^^^^^ use of undeclared type `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `u` in this scope
[INFO] [stdout]   --> src/main.rs:29:38
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn on_header_field(&mut self, s: u) -> bool {
[INFO] [stdout]    |                                      ^ help: a builtin type with a similar name exists: `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `u` in this scope
[INFO] [stdout]   --> src/main.rs:34:38
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn on_header_value(&mut self, s: u) -> bool {
[INFO] [stdout]    |                                      ^ help: a builtin type with a similar name exists: `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HttpParser`
[INFO] [stdout]   --> src/main.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 22 | / struct HttpParser {
[INFO] [stdout] 23 | |     current_key: Option<String>,
[INFO] [stdout] 24 | |     #[#deprive]
[INFO] [stdout] 25 | |     headers: Rc<RefCell<HashMap<String>>>,
[INFO] [stdout] 26 | | }
[INFO] [stdout]    | |_- `HttpParser` defined here
[INFO] [stdout] ...
[INFO] [stdout] 71 |               http_parser: Parser::Request(HttpParser)
[INFO] [stdout]    |                                            ^^^^^^^^^^ help: use struct literal syntax instead: `HttpParser { current_key: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]   --> src/main.rs:93:6
[INFO] [stdout]    |
[INFO] [stdout] 93 | impl Handler for WebSocketServer {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 6  | use deprecated::Handler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]   --> src/main.rs:97:42
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet){
[INFO] [stdout]    |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  | use deprecated::EventLoop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:97:92
[INFO] [stdout]     |
[INFO] [stdout] 97  |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet){
[INFO] [stdout]     |                                                                                            ^^^^^^^^ help: a trait with a similar name exists: `Evented`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/mio-e79f285e2377d154/50c4af5/src/event_imp.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub trait Evented {
[INFO] [stdout]     | ----------------- similarly named trait `Evented` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop`
[INFO] [stdout]    --> src/main.rs:137:26
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 6   | use deprecated::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `WebSocketServer`
[INFO] [stdout]    --> src/main.rs:138:23
[INFO] [stdout]     |
[INFO] [stdout] 87  | / struct WebSocketServer{
[INFO] [stdout] 88  | |     socket: TcpListener,
[INFO] [stdout] 89  | |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout] 90  | |     token_counter: usize
[INFO] [stdout] 91  | | }
[INFO] [stdout]     | |_- `WebSocketServer` defined here
[INFO] [stdout] ...
[INFO] [stdout] 138 |       let mut handler = WebSocketServer;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `WebSocketServer { socket: val, clients: val, token_counter: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Heart`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "41b5a3c24affe6828bb1bd72773b515308a581f467cc37d1de30e1cfc18a569d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41b5a3c24affe6828bb1bd72773b515308a581f467cc37d1de30e1cfc18a569d", kill_on_drop: false }`
[INFO] [stdout] 41b5a3c24affe6828bb1bd72773b515308a581f467cc37d1de30e1cfc18a569d
